package com.javaspeak.designpatterns.go4.behavioural.state;

/**
 * Shows what the minimum annual salary is for the different account types.
 *
 * @author John Dickerson
 */
public enum SalaryGrade {

    STARTER_ACCOUNT( 0 ),
    STANDARD_ACCOUNT( 7000 ),
    PREMIERE_ACCOUNT( 80000 );

    private int salary;


    private SalaryGrade( int salary ){

        this.salary = salary;
    }


    public int getSalary(){

        return this.salary;
    }
}
